package com.benjaminwan.read.free.common

import com.benjaminwan.read.free.app.App

const val SP_SHOW_GUIDE = "sp_show_guide"
const val SP_KEEP_SCREEN_ON = "sp_keep_screen_on"
const val SP_VIBRATOR_ENABLE = "sp_vibrator_enable"
const val SP_ACTION_SCRIPT = "sp_action_script"
const val SP_USERNAME = "sp_username"
const val SP_PASSWORD = "sp_password"
const val SP_QUESTION = "sp_question"
const val SP_ANSWER = "sp_answer"
const val SP_LOGIN_RESULT = "sp_login_result"

val defaultPath: String
    get() = App.INSTANCE.filesDir.path
const val DEFAULT_EXT = ".xml"

//----------打开文件request----------
const val OPEN_FILE_REQUEST_CODE = 1983
const val REQUEST_CODE_LOCATION_SOURCE_SETTINGS = 200//转跳到gps开关页面
const val REQUEST_ENABLE_BT = 201

//----------通知栏----------
const val ACTION_START_SCRIPT = "ACTION_START_SCRIPT"
const val ACTION_START_REQUEST_CODE = 1983
const val ACTION_STOP_SCRIPT = "ACTION_STOP_SCRIPT"
const val ACTION_STOP_REQUEST_CODE = 1984